local sk__zhennan = fk.CreateSkill {

  name = "sk__zhennan",

  tags = {  },

}



sk__zhennan:addEffect(fk.TargetSpecified, {
  name = "sk__zhennan",
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return player:hasSkill(sk__zhennan.name) and (data.card.trueName == "slash" or data.card:isCommonTrick()) and data.firstTarget and
      #data.tos > 1 and player:usedSkillTimes(sk__zhennan.name, Player.HistoryTurn) == 0
  end,
  on_cost = function(self, event, target, player, data)
    local to = player.room:askForChoosePlayers(player,table.map(data:getAllTargets(),Util.IdMapper), 1, 1,
      "#sk__zhennan-choose", sk__zhennan.name, true)
    if #to > 0 then
      event:setCostData(self, to[1])
      return true
    end
  end,
  on_use = function(self, event, target, player, data)
    player.room:damage{
      from = player,
      to = player.room:getPlayerById(event:getCostData(self)),
      damage = 1,
      skillName = sk__zhennan.name,
    }
  end,
})

return sk__zhennan